#ifndef INCLUDED_jax_io_JFile
#define INCLUDED_jax_io_JFile

#ifndef HXCPP_H
#include <hxcpp.h>
#endif

HX_DECLARE_CLASS2(jax,io,JFile)
namespace jax{
namespace io{


class JFile_obj : public hx::Object{
	public:
		typedef hx::Object super;
		typedef JFile_obj OBJ_;
		JFile_obj();
		Void __construct(Dynamic f,Dynamic s);

	public:
		static hx::ObjectPtr< JFile_obj > __new(Dynamic f,Dynamic s);
		static Dynamic __CreateEmpty();
		static Dynamic __Create(hx::DynamicArray inArgs);
		~JFile_obj();

		HX_DO_RTTI;
		static void __boot();
		static void __register();
		void __Mark(HX_MARK_PARAMS);
		void __Visit(HX_VISIT_PARAMS);
		::String __ToString() const { return HX_CSTRING("JFile"); }

		::String path; /* REM */ 
		virtual bool exists( );
		Dynamic exists_dyn();

		virtual bool isDirectory( );
		Dynamic isDirectory_dyn();

		virtual Void createNewFile( );
		Dynamic createNewFile_dyn();

		virtual ::String getAbsolutePath( );
		Dynamic getAbsolutePath_dyn();

		virtual Float lastModified( );
		Dynamic lastModified_dyn();

};

} // end namespace jax
} // end namespace io

#endif /* INCLUDED_jax_io_JFile */ 
